package com.behavior.observer;

/**
 * 具体被观察者
 */
public class ConcreteSubject extends Subject{

    @Override
    public void doSomething(String param) {
        System.out.println("被观察者事件发生改变");
        this.notifyObserver(param);
    }
}
